Goroutine — lightweight, managed by Go. Thread — OS-managed, heavier.
Goroutine:
1go func() {2 // Runs in goroutine3}()
Thread:
Key differences: