Discovery takes place in two different eras of the Star Trek timeline: seasons 1 and 2 are prequels set in the mid-23rd century, while seasons 3, 4, and 5 take place in the 32nd century.