Originally in Entity-Relationship Modeling: An entity is an individual thing. A relationship between/among or an association of/on/between/among some things is an individual (concrete or conceptual) thing. Either can have properties. An entity or relatinship/association type/set/class is a collection of entities or relationships/associations. A type/set/class corresponds to a relation and contains a row per entity or relationship/association that is an element/member. An entity or relationship/association is called an instance of the type/set/class of which it is an element/member.
However, "entity" gets used as shorthand for "entity class" and "association" gets used for "association class". Which, of course, is confusing. Then "entity instance" gets used for "entity" and "class instance" gets used for "class". Even more confusing. This means that we can see entity or relationship "set/class instance" meaning entity or relationship. Ugh. But entity or association "type" gets used to mean a set/collection of what could be called potential things with entity and relationship/association set/class meaning those potential elements/members of a type that actually do correspond to a thing in the current situation/state. (Like a relation's row "type" meaning the set of all potentially present tuples vs a relations being a set of actually present tuples. Or like class vs extent.) Ughnnnn. You just have to figure out how an author is using terms.
Many presentations of or products supporting E-RM or variants also incorrectly use "relationship" to mean "foreign key".
Boo is a Teacher is an example of an entity (instance) if and only if Boo is a teacher.
Gee is a Student is an example of an entity (instance) if and only if Gee is a student.
Boo teaches Gee is a relationship/association (instance) if and only if Boo teaches Gee.
Teacher is an entity type/set/class, containing all such entities (instances).
Student is an entity type/set/class, containing all such entities (instances).
Teaches is a relationship/association type/set/class, containing all such relationships/associations (instances).
A rectangle denotes an entity type/set/class.
A diamond denotes a relationship/association type/set/class.
Rectangles & diamonds correspond to relations
(with attributes for participant things plus owned/possessed/associated property things).
A line from a diamond to a rectangle represents the participation of an entity type/set/class in the relationships/associations of the relationship/association type/set/class
(and a foreign key from a relationship/association relation to a participant entity relation).
Ironically all this variation and confounding of terminology is in reference to concepts that are unnecessary in the first place. E-RM makes unnecessary distinctions between "entity" things, "relationship/association" things and "property" things, and between being a property of and being in a relationship/association with. Directly modeling relationally avoids all that. Every superkey of every query is in 1:1 correspondence with some kind/type of thing. But the E-R Modeling & variants just don't understand the Relational Model.
See A: What is the difference between an entity relationship model and a relational model?.