Complex sentence: When a gas is heated, it gives off light at certain discrete frequencies; for example, the visible light given off by hydrogen consists of four different colours, as shown in the picture below.
Split into simpler sentences: When a gas is heated, it gives off light at certain discrete frequencies. For example, the visible light given off by hydrogen consists of four different colours, as shown in the picture below.