The correct option is A Proteins
Proteins are made up of amino acids which contain the amine group, that is the -NH3+ group. Therefore proteins are the molecules that contain nitrogen.
Carbohydrates and fats generally do not contain nitrogen although some derivatives of these molecules also contain nitrogen sometimes.