Relativity theory and astrophysics