Explanation
In the sentence "You can't take hot coffee", "hot" is an adjective modifying the noun "coffee", describing its temperature.
Adjectives are words that describe or modify nouns or pronouns.
In this case, indicating that the coffee is at a high temperature.