What is class in java?

I want to know what is a class in java. In html, a class is used to modify or stylish a specific element in the website or the web app?

Is it the same with java ?, Are java classes the same as C classes ?