Categorical imperative is a way of thinking about what is good and bad. It's like a moral code that we should follow. It's sometimes called Kant's moral law and it basically says that you should always treat other people the way you would want to be treated and never do anything that would hurt someone else. This means that you should always take other people's feelings into consideration and act in ways that are good for everyone.