A compromise is a situation in which people accept something slightly different from what they really want, because of circumstances or because they are considering the wishes of other people.
If you compromise with someone, you reach an agreement with them in which you both give up something that you originally wanted. You can also say that two people or groups compromise .
If someone compromises themselves or compromises their beliefs, they do something which damages their reputation for honesty, loyalty, or high moral principles.