Channel is used for communication between goroutines.