explain what the categorical imperative is in your own words

follow a rule as if it's going to be universal and won't lead to problems in societies
treat man as an end in himself not as a means to an end