UBS interview question

Q. What are equity and preference shares?