Examples
Let us take some examples that would help you understand the concept better. Kant said, that to act morally is to perform one's duty, and one's duty is to obey the innate moral laws. He contradicted it with hypothetical imperative, which are conditional. For example, if one wants to be knowledgeable, one must read, or, I shall do X to get Y, etc.