This confuses me, in the most simplest terms what does it do? Pretend you are explaining to your mother or someone almost please.
In general a "factory" produces something: in the case of Object-Orientated-Programming, a "factory design pattern" produces objects.
It doesn't matter if it's in PHP, C# or any other Object-Orientated language.