As an adjective: It describes something that is chosen or optional.
* Example: "Students can take elective courses in music or art."
As a noun: It refers to a course or subject that is optional, or a person who is elected to office.
* Example: "My favorite elective is creative writing."
* Example: "The elected officials met to discuss the budget."