Tech Mahindra Interview Question

What is difference between states n props, lifecycle methods Of react components,what is reducer,why to use midlewaresin redux, principles of redux