Do both of the sentences have the same meaning?

> 
> **Did** he eat something?
> 
> 
> **Would** he eat something?
> 
> 
> 

I've heard *would* can also be used to refer to things that happened in the past.