Brassica nigra Black Mustard C DD N
This is one of those yellow, usually spring flowering crucifers which are very tricky to identify. In this case the seed pods are upright and adpressed to the stem but don't have a seed in the beak at the end. As for the insect in the picture - a total fluke. It flew in and landed just as I took the photo.
The seeds when mixed with White Mustard (Sinapis alba) are ground into mustard flour for use in various mustard condiments. Mixed with water mustard flour makes English mustard and with vinegar it makes Continental Mustard.
This plant is very common in England and Wales but record become scarce the further north you go and it is rare in northern Scotland and uncommon in Ireland.