In this section, we introduce source coding and discuss how entropy can be understood as optimal code length.