This is a really vague question, so it'll be difficult for anyone to give you a proper answer.
Whenever you have lateral forces that need to be carried by shear walls, braced frames, etc., those forces have to get to those supporting elements somehow, commonly through a diaphragm. So if you have lateral force (seismic, wind) accelerating/applying force on your floor, you will need to design it as a diaphragm to ensure it can carry the load to your walls/frames properly.
Can you be more specific about what you mean?