What is the difference between linux and windows, which is better?

Some dell computers are loaded with ubuntu linux as an operating system. I’ve heard that its more efficient than windows and crashes less. What are its advantages? If i were to get a dell laptop with unbuntu loaded on it would I have a tough time figuring out how to use it?