"In compensation" is a phrase commonly used to express the act of providing something to make up for an unfortunate situation or loss. Some synonyms for this phrase include "in recompense", "as restitution", "by way of reparation", "as amends", and "by way of indemnity". These words carry a similar meaning and are often used interchangeably in formal writing and speech. "In recompense" refers to giving something in return for something else, while "by way of reparation" means making amends for a wrong or injury caused. "As amends" is used to make up for an offense committed, and "by way of indemnity" refers to providing compensation for damage or loss incurred.