Network motifs are recurring subgraph patterns that appear more often than in random networks. Feed-forward loops, bi-fans, and bi-parallel patterns are the "building blocks" of biological and social networks.