The milking machine was invented by Anna Baldwin in 1878 to efficiently milk cows and goats for their milk, as it is still used today and works very well. It had a positive impact on society by providing more milk for people to drink through its ability to milk multiple animals faster than by hand.