It is daytime when the sun is up. When the sun sets, it is nighttime. This pattern repeats every day.