Without going into technical details, channels are used because the lightning network was designed that way. Channels are created between two nodes, the nodes are like two banks and the channel is the interbank network. Here it is important to mention that the bitcoins that are part of that channel are blocked in the Bitcoin network.