R Systems interview question

What is class and functional component?