They are related in a way.
Colour temperature is about the relative balance of red, green and blue light which together make up white light which has equal quantities of all colours, eg noon sunlight.
White balance adjusts the 'effective' exposure level of these colours independently, by altering the level of amplification they are given in JPEG processing.