A court injunction is a legal order by a court that either compels or restrains a person or entity from carrying out certain acts. This judicial remedy is usually given to prevent further or future harm, damage, or inconvenience.
In simpler terms, a court injunction is like a big, legally binding “Stop!” or “You Must Do This” sign issued by a judge. It tells someone they must do something or must not do something. For example, if someone is trying to build a structure that would block your view, you could ask the court for an injunction to stop them from continuing the construction.