R Systems Interview Question

What is class and functional component?