Windows communication foundation or WCF works on the communication factors like receiving, sending, or serializing data. On the other hand, WPF or windows presentation foundation deals with the presentation of UI.