Minecraft wiki entry for teleport, associated text: teleport <destination>
teleport <targets> <destination>
Teleports the executor or the specified entity(s) to the position of an entity, and makes its rotation the same as the specified entity's.
teleport <location>
Teleports the executor or the specified entity(s) to a certain position (and changes its rotation to the command's execution rotation).
teleport <targets> <location>
Teleports the entity(s) to a certain position (without changing their rotation).
teleport <targets> <location> <rotation>
teleport <targets> <location> facing <facingLocation>
teleport <targets> <location> facing entity <facingEntity> [<facingAnchor>]
Teleports the entity(s) to a certain position and changes their rotation to the specified rotation.