They are very different. View changes the shape of the tensor without touching the underlying order. For example, say
A = some Tensor of (3, 4)
B = A.view(4, 3)
C = A.transpose(0, 1)

# A[1, 2] will be the 6th (1*4+2=6) value in flattened A
# B[1, 2] will be the 5th (1*3+2=5) value in flattened A
A[1, 2] == B[1, 3]
C[1, 2] == A[2, 1]  # transpose

Adding to this, you can do things like A.view(2, 2, 3) with no issue as long as the total number of element is the same.