While lemon juice is primarily composed of water and citric acid, it also contains small amounts of furocoumarins and psoralens, compounds that can cause phytophotodermatitis. This condition occurs when the skin comes into contact with these compounds and is then exposed to sunlight, leading to skin irritation and pigmentation changes.