Why would in-dash and tail lights go out?

I own a ford f150 and my tail lights are not working, but my brake work. What could wire or what could be causing that.