How is the brain adapted for its function?

it is grey and squishy like a blob of jelly and it has little legs to run around your head. the reason why we get headaches is because it bumps into the sides. the brain sings to tell us what to do.