It's a used in dairy farming to detect mastitis in cows. It is used to check the first few streams of milk for abnormalities like clots or flakes, which can indicate mastitis.
The black filter provides a high contrast to easily see any abnormalities in the milk.
The cup is made of durable plastic material.