HTC Global Services Interview Question

Difference b/w workflow & dialog in Dynamics 365?