Moth and wasp

Moth and wasp

Observation - Moth and wasp - UK and Ireland. Description: Not a very good photo but you can see a moth and lower and to the right a wasp. I noticed them because several times the wasp seemed to attack the moth which then flapped over the ground. Any ideas on what the moth is and what caused this behaviour?

Not a very good photo but you can see a moth and lower and to the right a wasp. I noticed them because several times the wasp seemed to attack the moth which then flapped over the ground. Any ideas on what the moth is and what caused this behaviour?