Why is a Swan Hamsa used in temple architecture

Why is a Swan Hamsa used in temple architecture