We characterize Gelfand–Shilov spaces, their distribution spaces and modulation spaces in terms of estimates of their Zak transforms. We use these results for general investigations of quasi-periodic functions and distributions. We also establish necessary and sufficient conditions for linear operators in order for these operators should be conjugations by Zak transforms.