What you do is, you look at the environment and consider like the inputs and then you look at behaviour as outputs and you learn the relationship between the two and you don't neces you don't have to understand what goes on inside.