A female dancer wearing all white dancing while a photographer wearing all white takes her picture.
Some players are playing cricket in ground
Cricket is not played by female dancers.
It's either dancing or playing cricket.
While a photographer is taking her picture, a dancer is dancing, and players are playing cricket. These are two independent thoughts.