A court injunction is a legal remedy that requires a party to do or refrain from doing specific acts. Courts use injunctions to prevent harm, maintain the status quo, or enforce legal rights while cases proceed.