In the day the stars are still there, but you cannot see them because they are so much fainter than the sunlight that is scattered by our atmosphere. If the Earth had no atmosphere, then our daytime sky would be black like at night, except the sun would be a huge spotlight shining down at us.