The primary excretory product of birds and lizards is nitrogenous waste in the form of uric acid. Unlike mammals, which primarily produce urea, birds and lizards excrete uric acid to conserve water. Uric acid is less toxic than urea and requires minimal water for excretion, allowing these animals to survive in environments where water is scarce. This adaptation helps them thrive in arid and semi-arid habitats.