seperate two objects

I am learning blender by playing around. I have been able to find tutorials on youtube for most things I wanted to know so far. now I have run into something I cant seem to find a answer for. I have what looks like two objects joined and I cant figure out how to separate them. any help would be greatly appreciated.

Select the vertices you want to separate and in edit mode press P. This gives you some additional options

The ‘L’ key selects all connected geometry. Follow with the ‘P’ key to separate the parts. Or you can just use the ‘P’ key and choose ‘Loose Parts’.