Step 1: Understand excretory roles of organs.
Different organs in the human body help in excretion of different metabolic wastes such as gases, pigments, salts, and lipids.
Step 2: Match lungs (A).
Lungs remove carbon dioxide (CO\textsubscript{2}) along with a significant amount of water vapour during exhalation. Hence, A matches option (2).
Step 3: Match liver (B).
The liver converts decomposed haemoglobin from old RBCs into bile pigments such as bilirubin and biliverdin. Hence, B matches option (4).
Step 4: Match sweat glands (C).
Sweat glands help in excretion of excess NaCl, water, and lactic acid from the body. Hence, C matches option (3).
Step 5: Match sebaceous glands (D).
Sebaceous glands secrete sebum which contains sterols, waxes, and hydrocarbons. Hence, D matches option (1).
Step 6: Final verification.
Thus, the correct matching is A–2, B–4, C–3, D–1.