In many ways ,They both can mean understand ,know
But 理解 is more like comprehend , to understand somethings in detail and deep way , which is complicated or difficult
了解 mean just have information , know it ,maybe not very understand
Hope my explaination will be helplfu .